import axios from '.'

export function getCates<T>() {
  return axios.get<T>('/index/getCategory') as Promise<T>
}